package cn.touna.jss.modules.third.tongdun.util;

import java.util.HashMap;
import java.util.Map;

/**
 * author: xl
 * time: 2018/1/30 11:27
 * description:
 **/
public class TongDunUtil {

    static Map<String, String> map = new HashMap();

    static {
        map.put("Register_web_20170810", "tounaCD_web");
        map.put("Login_web_20170810", "tounaCD_web");
        map.put("Loan_web_20170421", "tounaCD_web");
        map.put("adjustamount_professional_web", "tounaCD_web");
        map.put("withdraw_professional_web", "tounaCD_web");

        map.put("Register_android_20170810", "tounaCD_and");
        map.put("Login_android_20170810", "tounaCD_and");
        map.put("Loan_android_20170421", "tounaCD_and");
        map.put("adjustamount_20170817", "tounaCD_and");
        map.put("AdjustAmount_and_201080105", "tounaCD_and");
        map.put("withdraw_20170817", "tounaCD_and");

        map.put("Register_ios_20170810", "tounaCD_ios");
        map.put("Login_ios_20170810", "tounaCD_ios");
        map.put("Loan_ios_20170421", "tounaCD_ios");
        map.put("adjustamount_ios", "tounaCD_ios");
        map.put("AdjustAmount_ios_20180105", "tounaCD_ios");
        map.put("withdrawwithdraw_ios", "tounaCD_ios");

        //-----卡牛
        map.put("Loan_web_20180328", "tounakaniu_web");
        map.put("AdjustAmount_web_20180328", "tounakaniu_web");
        map.put("Withdraw_web_20180328", "tounakaniu_web");

        map.put("Loan_android_20180328", "tounakaniu_and");
        map.put("AdjustAmount_android_20180328", "tounakaniu_and");
        map.put("Withdraw_android_20180328", "tounakaniu_and");

        map.put("Loan_ios_20180328", "tounakaniu_ios");
        map.put("AdjustAmount_ios_20180328", "tounakaniu_ios");
        map.put("Withdraw_ios_20180328", "tounakaniu_ios");


        //-----华润



        map.put("Loan_web_20180621", "huarun_web");
        map.put("AdjustAmount_web_20180621", "huarun_web");
        map.put("Withdraw_web_20180621", "huarun_web");



        map.put("Loan_android_20180528", "huarun_and");
        map.put("Withdraw_android_20180528", "huarun_and");

        map.put("Loan_ios_20180528", "huarun_ios");
        map.put("Withdraw_ios_20180528", "huarun_ios");


        //--------------生产------------------------------------------------------------------------
        map.put("Register_web_20170829", "tounaCD_web");
        map.put("Login_web_20170829", "tounaCD_web");
        map.put("Loan_web_20170829", "tounaCD_web");
        map.put("AdjustAmount_web_20170904", "tounaCD_web");
        map.put("Withdraw_web_20170829", "tounaCD_web");
        map.put("loan", "touna_web");

        map.put("Register_android_20170829", "tounaCD_and");
        map.put("Login_android_20170829", "tounaCD_and");
        map.put("Loan_android_20170829", "tounaCD_and");
        map.put("AdjustAmount_android_20170904", "tounaCD_and");
        map.put("AdjustAmount_and_20180105", "tounaCD_and");
        map.put("Withdraw_android_20170829", "tounaCD_and");

        map.put("Register_ios_20170829", "tounaCD_ios");
        map.put("Login_ios_20170829", "tounaCD_ios");
        map.put("Loan_ios_20170829", "tounaCD_ios");
        map.put("AdjustAmount_ios_20170904", "tounaCD_ios");
        map.put("AdjustAmount_ios_20180105", "tounaCD_ios");
        map.put("Withdraw_ios_20170829", "tounaCD_ios");


        //-----卡牛
        map.put("Loan_web_20180328", "tounakaniu_web");
        map.put("AdjustAmount_web_20180328", "tounakaniu_web");
        map.put("Withdraw_web_20180328", "tounakaniu_web");

        map.put("Loan_android_20180328", "tounakaniu_and");
        map.put("AdjustAmount_android_20180328", "tounakaniu_and");
        map.put("Withdraw_android_20180328", "tounakaniu_and");

        map.put("Loan_ios_20180328", "tounakaniu_ios");
        map.put("AdjustAmount_ios_20180328", "tounakaniu_ios");
        map.put("Withdraw_ios_20180328", "tounakaniu_ios");


        //-----华润
        map.put("Loan_web_20180621", "huarun_web");
        map.put("AdjustAmount_web_20180621", "huarun_web");
        map.put("Withdraw_web_20180621", "huarun_web");


        map.put("Loan_android_20180528", "huarun_and");
        map.put("Withdraw_android_20180528", "huarun_and");

        map.put("Loan_ios_20180528", "huarun_ios");
        map.put("Withdraw_ios_20180528", "huarun_ios");

        //浩天
        map.put("AdjustAmount_ios_20180928","haotian_ios");
        map.put("Withdraw_ios_20180928","haotian_ios");
        map.put("Loan_ios_20180928","haotian_ios");
        map.put("AdjustAmount_android_20180928","haotian_and");
        map.put("Withdraw_android_20180928","haotian_and");
        map.put("Loan_android_20180928","haotian_and");
        map.put("AdjustAmount_web_20180928","haotian_web");
        map.put("Withdraw_web_20180928","haotian_web");
        map.put("Loan_web_20180928","haotian_web");

        //爱奇艺
        map.put("AdjustAmount_ios_20181023","Aiqiyi_ios");
        map.put("Withdraw_ios_20181023","Aiqiyi_ios");
        map.put("Loan_ios_20181023","Aiqiyi_ios");
        map.put("AdjustAmount_android_20181023","Aiqiyi_and");
        map.put("Withdraw_android_20181023","Aiqiyi_and");
        map.put("Loan_android_20181023","Aiqiyi_and");
        map.put("AdjustAmount_web_20181023","Aiqiyi_web");
        map.put("Withdraw_web_20181023","Aiqiyi_web");
        map.put("Loan_web_20181023","Aiqiyi_web");
    }

    public static String getSecretKeyType(String evenId) {
        String keyType = map.get(evenId);
        return keyType;

    }


}
